namespace TS2015.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TbNguoiDung")]
    public partial class TbNguoiDung
    {
        [Key]
        [StringLength(10)]
        public string TenDangNhap { get; set; }

        public int MaLoaiND { get; set; }

        [Required]
        [StringLength(32)]
        public string MatKhau { get; set; }

        [StringLength(50)]
        public string Email { get; set; }

        [Required]
        [StringLength(8)]
        public string RandomPass { get; set; }

        public int KhoaTaiKhoan { get; set; }

        public virtual TbLoaiND TbLoaiND { get; set; }
    }
}
